export interface OssSyncObj {
    pwdInfoList:PwdInfo[];
    groupList: PwdGroup[];
}

export interface OssForm {
    region: string;
    keyId: string;
    keySecret: string;
    bucket: string;
}


// 存放 密码数据
export interface PwdInfo {
    id: number;

    group_id: number;

    group_title: string;

    title: string;

    username: string;

    password: string;

    link: string;

    remark: string;
}

export interface PwdQuery {
    token: string;

    id?: number;

    group_id?: number;

    searchStr?: string;

}

export interface PwdGroup {
    id: number;


    title: string;

    father_id: number;

    pwdList: PwdInfo[];

    editFlag: boolean;

}

export interface Response<T>{
    code: string;

    msg: string;

    data: T;
}

